package lysjmaster.base.auth.service;

import lombok.extern.slf4j.Slf4j;
import lysjmaster.base.auth.domain.RolePermission;
import lysjmaster.base.auth.repository.RolePermissionRepository;
import lysjmaster.base.common.spring.base.BaseRepository;
import lysjmaster.base.common.spring.base.BaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.transaction.Transactional;

/**
 * @author Created by zk on 2019-12-05 2:23
 * @description
 */
@Slf4j
@Service
@Transactional
public class RolePermissionService implements BaseService<RolePermission> {
    @Resource
    private RolePermissionRepository rolePermissionRepository;

    @Override
    public BaseRepository<RolePermission> getRepository() {
        return rolePermissionRepository;
    }
}
